﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.PoModel.CustomerManagement.PoModel;
using SystemCenterSoa.PoModel.SystemManager;
using SystemCenterSoa.PoModel.SystemSettings.CommonlyUsedSettings;
using SystemCenterSoa.PoModel.SystemSettings.InstituTions;

namespace SystemCenterSoa.Repository.CommonLib
{
    public class SystemCenterDbSoaContext:DbContext
    {
        /// <summary>
        /// 把 options通过base() 传给父类的构造函数
        /// </summary>
        /// <param name="options"></param>
        public SystemCenterDbSoaContext(DbContextOptions<SystemCenterDbSoaContext> options) : base(options)
        {

        }
        public DbSet<ModulePo> ModulePo { get; set; }
        public DbSet<RolePo> RolePo { get; set; }
        public DbSet<AdminUserPo> AdminUserPo { get; set; }
        public DbSet<WebSystemMenuPo> WebSystemMenuPo { get; set; }

        public DbSet<RoleModuleRelationPo> RoleModuleRelationPo { get; set; }
        public DbSet<AdminUserRoleRelationPo> AdminUserRoleRelationPo { get; set; }
        public DbSet<DepartmentOfManagementPo> DepartmentOfManagementPo { get; set; }
        public DbSet<DepartmentOfTypePo> DepartmentOfTypePo { get; set; }


        public DbSet<CreditRatingsPo> CreditRatingsPo { get; set; }
        public DbSet<CustomerManagementEssentialPo> CustomerManagementEssentialPo { get; set; }
        public DbSet<CustomerManagementExtendPo> CustomerManagementExtendPo { get; set; }
        public DbSet<FirstPartyPo> FirstPartyPo { get; set; }
        public DbSet<IntimacyPo> IntimacyPo { get; set; }
        public DbSet<SatisfactionPo> SatisfactionPo { get; set; }
        public DbSet<SatisfactionSurveyPo> SatisfactionSurveyPo { get; set; }
        public DbSet<SatisfactionTypePo> SatisfactionTypePo { get; set; }
        public DbSet<StateCityPo> StateCityPo { get; set; }
        public DbSet<WhetherCooperationPo> WhetherCooperationPo { get; set; }
        public DbSet<ClientType> ClientType { get; set; }
        public DbSet<IndustryInfo> IndustryInfo { get; set; }

        public DbSet<DictionaryInstallPo> DictionaryInstallPo { get; set; }

        public DbSet<QuickLinkListPo> QuickLinkListPo { get; set; }

        public DbSet<IntroductionPersonnelSalaryPo> IntroductionPersonnelSalaryPo { get; set; }

        public DbSet<BuildingTitlePo> BuildingTitle { get; set; }


    }
}
